package tech.runchen.gz5055.oms.modules.system.service;

import tech.runchen.gz5055.oms.common.utils.PageInfo;
import tech.runchen.gz5055.oms.modules.system.entity.OrderEntity;
import tech.runchen.gz5055.oms.modules.system.entity.OrderEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 订单信息表 服务类
 * </p>
 *
 * @author zzj
 * @since 2023-10-10
 */
public interface IOrderService extends IService<OrderEntity> {

    PageInfo queryPage(Map<String, Object> params);

    List<OrderEntity> querySelect(Map<String, Object> params);

    PageInfo queryUnshippedOrder(Map<String, Object> params);

    PageInfo queryUnreceivedOrder(Map<String, Object> params);

    boolean saveOrder(OrderEntity order);

    boolean updateOrder(OrderEntity order);

    void deleteOrder(Long orderId);
}
